import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
export default new Router({
    //去除路径中的#
    mode: "history",
    //首页  HelloWorld
    routes: [
        {
            path: "/Login",
            name: "Login",
            component: () => import('@/components/Login')
        },
        {
            path: '/',
            name: 'Index',
            component: () => import('@/components/Index'),
            redirect: "/ShouYe",
            children: [
                {
                    path: "/ShouYe",
                    name: "ShouYe",
                    component: () => import('@/components/ShouYe')
                },
                {
                    path: "/positionShow",
                    name: "positionShow",
                    component: () => import('@/views/positionShow')
                },
                {
                    path: "/candidateShow",
                    name: "candidateShow",
                    component: () => import('@/views/candidateShow')
                },
                {
                    path: "/recruitGailan",
                    name: "recruitGailan",
                    component: () => import('@/views/echarts/recruitGailan')
                },
                {
                    path: "/recruitLouDou",
                    name: "recruitLouDou",
                    component: () => import('@/views/echarts/recruitLouDou')
                },
                {
                    path: "/jianlishujv",
                    name: "jianlishujv",
                    component: () => import('@/views/echarts/jianlishujv')
                },
                






                
            ]
        }
    ],
})